package com.ceres.farm.pojo;


import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "t_cust_farm")
public class CustFarm implements Serializable {
  @Id
  private Integer id;

  private Integer custid; //农场主ID
  private String code;// 农场名称
  private String name;//农场编号
  private String status;//农场状态
  private String longitude;//经度
  private String latitude;//维度

  @Override
  public String toString() {
    return "CustFarm{" +
            "id=" + id +
            ", custid=" + custid +
            ", code='" + code + '\'' +
            ", name='" + name + '\'' +
            ", status='" + status + '\'' +
            ", longitude='" + longitude + '\'' +
            ", latitude='" + latitude + '\'' +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getCustid() {
    return custid;
  }

  public void setCustid(Integer custid) {
    this.custid = custid;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getLongitude() {
    return longitude;
  }

  public void setLongitude(String longitude) {
    this.longitude = longitude;
  }

  public String getLatitude() {
    return latitude;
  }

  public void setLatitude(String latitude) {
    this.latitude = latitude;
  }
}
